package com.whut.mapper;

import com.whut.model.Orderinfo;

import java.util.List;

public interface OrderinfoMapper {
    int deleteByPrimaryKey(Integer mkey);

    int insert(Orderinfo record);

    int insertSelective(Orderinfo record);

    Orderinfo selectByPrimaryKey(Integer mkey);

    int updateByPrimaryKeySelective(Orderinfo record);

    int updateByPrimaryKey(Orderinfo record);

    /***my methods***/
    void updateOrder(Orderinfo orderinfo);

    List<Object> selectOrderInfo();

    List<Orderinfo> selectById(int id);
}